<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" href="./favicon.ico" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>无权限访问</title>
    <style type="text/css">
      html, body {
        width: 100%;
        height: 100%;
        position: relative;
        margin: 0;
      }
      .unauth-wrapper {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
      }
      .icon {
        display: block;
        width: 180px;
        margin: auto;
      }
      .title {
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        color: #333;
        line-height: 1.2;
        padding: 25px 0 10px;
      }
      .name {
        font-size: 16px;
        color: #666;
        text-align: center;
      }
    </style>
  </head>

  <body>
    
    <div class="unauth-wrapper">
      <img src="../assets/images/auth.png" alt="" class="icon">
      <div class="title">暂无访问权限</div>
      <div class="name"><span id="MacValue"></span></div>
    </div>

    <script type="text/javascript">
      var target = document.getElementById('MacValue');
      var searchVal = location.search;
      var arr = searchVal.split('=');
      var mac = arr[arr.length - 1];
      target.innerHTML = mac;
    </script>

  </body>
</html>
